﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;

namespace PSE.Framework.UI.Controls.SmartClient
{
    public interface IChangesMonitorContainer
    {
        /// <summary>
        /// Indica se o objeto teve alterações
        /// </summary>
        bool HasChanges { get; }

        event RoutedEventHandler HasChanged;
        event RoutedEventHandler ChangesCleaned;
        event EventHandler<CheckChangesEventArgs> CheckChanges;

        event RoutedEventHandler CleaningChanges;

        /// <summary>
        /// Clears the changes.
        /// </summary>
        void ClearChanges();


    }
}
